package com.wawayaya.bookreader.bean;

import com.wawayaya.bookreader.DefaultSettings;


public class Bookpagesummary implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	public String m_name = null;
	public int m_itype = DefaultSettings.ms_Json_BookPageType_unknown;
	public int m_iinnerpage = 0; // 'm_ipagenumber' starts form 0
	public int m_ipagenumber = -1; // 'm_ipagenumber' starts form 1; if the page is not the formal book page, 'm_ipagenumber' is -1
	public int m_ipartnumber = 1; // 'm_ipartnumber' starts form 1
	public String m_thumb = null;
	public int m_index = -1;

	public Bookpagesummary(String name, int itype, int ipartnumber, String thumb, int index) {
		m_name = name;
		m_itype = itype;
		m_ipartnumber = ipartnumber;
		m_thumb = thumb;
		m_index = index;
	}
	
}
